$OpenBSD: patch-kaffeine_src_player-parts_xine-part_kxinewidget_cpp,v 1.1 2012/11/28 07:16:17 brad Exp $
--- kaffeine/src/player-parts/xine-part/kxinewidget.cpp.orig	Tue Nov 27 18:55:08 2012
+++ kaffeine/src/player-parts/xine-part/kxinewidget.cpp	Tue Nov 27 18:56:00 2012
@@ -2634,7 +2634,11 @@ void KXineWidget::getAutoplayPlugins(QStringList& auto
 
 bool KXineWidget::getAutoplayPluginURLS(const QString& plugin, QStringList& list)
 {
+#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 )
+	const char* const* urls = NULL;
+#else
 	char** urls = NULL;
+#endif
 	int num;
 	int i = 0;
 
